home *** CD-ROM | disk | FTP | other *** search
/ SPACE 2 / SPACE - Library 2 - Volume 1.iso / apps / 356 / applic / narrwtxt.doc < prev    next >
Text File  |  1989-02-16  |  3KB  |  62 lines

  1.                       DOCs for NARRWTXT.PRG
  2.  
  3. This program is designed to make it easier to read long text files 
  4. such as BBS 'magazines',  newsletters,  long documentation  files, 
  5. etc.   The  80 column width of a monitor is much too wide to  read 
  6. comfortably.   The monitor display is about 3.5 times as wide as a 
  7. newspaper  column,   which  was  designed  for  ease  of  reading.  
  8. Granted,  the monitor is further away than a newspaper being read; 
  9. but it's not 3.5 times as far away!
  10.  
  11.  
  12. To use the program simply be sure the .RSC file and the .PRG  file 
  13. are  in the same directory and double click on the  program.   You 
  14. will be asked for a file name and then there will be a pause while 
  15. the program computes the starting point for all possible lines  in 
  16. the  new format.   A help screen shows what keys  (including  Help 
  17. itself)  are  active.   You  can change between  narrow  and  wide 
  18. formats at will to read tabulated data and text that was carefully 
  19. formatted.   When in narrow mode, the tab character is replaced by 
  20. one space.  In wide mode, you get whatever the desktop 'Show' file 
  21. would  have  given.   You can send the 'page' on the screen  to  a 
  22. printer.   If you want consecutive pages,  you may want to  adjust 
  23. the  text on the screen first to avoid getting two copies  of  the 
  24. overlap line.   This line was the bottom line of the first  screen 
  25. and the top line of the second screen. 
  26.  
  27. You can also type in a number of up to 4 digits and that line will 
  28. be shown at the top of the screen.
  29.  
  30.  
  31.                             Searching
  32. If you press the 's' key you will be asked for a search key and if 
  33. a find is made the text found will be shown highlighted on line 3. 
  34. Pressing  'r'  continues the search from line 4 (as shown  on  the 
  35. monitor).   You can conveniently skip articles in a newsletter  by 
  36. searching for something such as several hyphens,  which are  often 
  37. used as major headers in files such as this.   If you want to skip 
  38. a section, press any unassigned key to skip all the hyphens on the 
  39. page found first, and then 'r'.
  40.  
  41.                       Customizing the width
  42.  
  43. The  new  format  will  give lines with  a  maximum  width  of  50 
  44. characters.   If you want to change this,  use a sector editor and 
  45. look  at address $126 (approximately) in NARRWTXT.PRG  file.   You 
  46. will  see the value $AAAAAA32.   The low order byte contains  $32, 
  47. which  is  decimal  50,  the 50  character  line  width  mentioned 
  48. earlier.   Use the sector editor to change this value to the  line 
  49. width you want.   Let's say you want 75 characters per  line.   To 
  50. convert a decimal number less than 256 to hex,  divide by 16.  The 
  51. dividend will be the upper hex digit and the remainder will be the 
  52. lower hex digit.  Now 75 divided by 16 gives a dividend of 4 and a 
  53. remainder of 11.  And the symbol for 11 in hex is 'B'.  So  change 
  54. the  value to $AAAAAA4B.   The 'A's were put there simply to  make 
  55. the spot easy to find.  
  56.  
  57.                         Further Distribution
  58.  
  59. Permission is granted to pass this program along as long as  _all_ 
  60. the  files  in this .ARC are included and no changes are  made  to 
  61. them.
  62.